<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator">

<f:view>
<f:loadBundle var="text" basename="#{mqkfqkForm.bundleName}"/>
    <head>
        <title>#{text['mqkfqkDetail.title']}</title>
        <meta name="heading" content="#{text['mqkfqkDetail.heading']}"/>
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="mqkfqkForm">

<h:form id="mqkfqkForm" onsubmit="return validateMqkfqkForm(this)">
<h:inputHidden value="#{mqkfqkForm.mqkfqk.id}" id="id"/>
<h:panelGrid columns="3">
    <h:outputLabel styleClass="desc" for="mc" value="#{text['mqkfqk.mc']}"/>
    <t:message for="mc" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="mc" value="#{mqkfqkForm.mqkfqk.mc}" required="true" maxlength="50">
        <v:commonsValidator type="required" arg="#{text['mqkfqk.mc']}"/>
    </h:inputText>
    <h:outputLabel styleClass="desc" for="dz" value="#{text['mqkfqk.dz']}"/>
    <t:message for="dz" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="dz" value="#{mqkfqkForm.mqkfqk.dz}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="jzmj" value="#{text['mqkfqk.jzmj']}"/>
    <t:message for="jzmj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="jzmj" value="#{mqkfqkForm.mqkfqk.jzmj}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="operation" value="#{text['mqkfqk.operation']}"/>
    <t:message for="operation" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="operation" value="#{mqkfqkForm.mqkfqk.operation}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="optdate" value="#{text['mqkfqk.optdate']}"/>
    <t:message for="optdate" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="optdate" value="#{mqkfqkForm.mqkfqk.optdate}" required="false" maxlength="23">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="username" value="#{text['mqkfqk.username']}"/>
    <t:message for="username" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="username" value="#{mqkfqkForm.mqkfqk.username}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="xh" value="#{text['mqkfqk.xh']}"/>
    <t:message for="xh" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="xh" value="#{mqkfqkForm.mqkfqk.xh}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="yjzj" value="#{text['mqkfqk.yjzj']}"/>
    <t:message for="yjzj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="yjzj" value="#{mqkfqkForm.mqkfqk.yjzj}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="yjzq" value="#{text['mqkfqk.yjzq']}"/>
    <t:message for="yjzq" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="yjzq" value="#{mqkfqkForm.mqkfqk.yjzq}" required="false" maxlength="15">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="ysje" value="#{text['mqkfqk.ysje']}"/>
    <t:message for="ysje" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="ysje" value="#{mqkfqkForm.mqkfqk.ysje}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="ysmj" value="#{text['mqkfqk.ysmj']}"/>
    <t:message for="ysmj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="ysmj" value="#{mqkfqkForm.mqkfqk.ysmj}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="ysts" value="#{text['mqkfqk.ysts']}"/>
    <t:message for="ysts" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="ysts" value="#{mqkfqkForm.mqkfqk.ysts}" required="false" maxlength="255">
    </h:inputText>

    <h:panelGroup styleClass="buttonBar bottom">
        <h:commandButton value="#{text['button.save']}" action="#{mqkfqkForm.save}" id="save" styleClass="button"/>

        <c:if test="${not empty mqkfqkForm.mqkfqk.id}">
        <h:commandButton value="#{text['button.delete']}" action="#{mqkfqkForm.delete}"
            id="delete" styleClass="button" onclick="bCancel=true; return confirmDelete('Mqkfqk')"/>
        </c:if>

        <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
            id="cancel" styleClass="button" onclick="bCancel=true"/>
    </h:panelGroup>
    <h:outputText/><h:outputText/>
</h:panelGrid>
</h:form>

<v:validatorScript functionName="validateMqkfqkForm"/>

<script type="text/javascript">
    //Form.focusFirstElement($('mqkfqkForm'));
    highlightFormElements();
</script>

</body>
</f:view>
</html>
